
import pandas as pd
def parse_result(total_purchase_amt_iter,total_redeem_amt_iter):
    #生成上传数据：

    #1.准备空白result
    
    online_result_df = pd.DataFrame()
    online_result_df['report_date'] = pd.date_range('20140901', '20140930',freq='1D').strftime('%Y%m%d')
    online_result_df['total_purchase_amt'] = None
    online_result_df['total_redeem_amt'] = None

    online_result_df['total_purchase_amt'] = total_purchase_amt_iter
    online_result_df['total_redeem_amt'] = total_redeem_amt_iter

    return online_result_df.astype('int')